package com.imooc.example.order.query;

import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@Entity
@Table(name = "cm_student")
public class StudentBean {

    @Id
    private String id;

    private String name;
    private Integer age;
    private String reason;

}
